class ChangeBuiltInInGlobalizeTranslations < ActiveRecord::Migration
  def self.up
    execute 'ALTER TABLE globalize_translations ALTER COLUMN built_in DROP DEFAULT'
    execute 'UPDATE globalize_translations SET built_in = NULL where ID > 7068'
  end

  # I am not changing the data in the downward mod since this is a bug.
  def self.down
    execute 'ALTER TABLE globalize_translations ALTER COLUMN built_in SET DEFAULT 1'
  end
end
